package com.example.script.admin.service;

import com.example.script.admin.enums.ScriptResult;
import com.example.script.admin.model.dto.ScriptPublishDto;

public interface ScriptService {
    /**
     * 添加剧本
     * @param scriptPublishDto
     * @return
     */
    ScriptResult addScript(ScriptPublishDto scriptPublishDto);

    /**
     * 修改剧本信息
     * @param scriptPublishDto
     * @return
     */
    int updateScript(ScriptPublishDto scriptPublishDto);


    /**
     * 删除剧本信息
     * @param scriptPublishDto
     * @return
     */
    int deleteScript(ScriptPublishDto scriptPublishDto);
}
